package com.gyg.dao;

import com.gyg.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * InnoDB free: 11264 kB Mapper 接口
 * </p>
 *
 * @author 关注公众号：码猿编程日记
 * @since 2021-09-21
 */
@Mapper
@Repository
public interface IUserDao {

    User getByUsername(String username);

    User getById(Long id);
}
